import java.util.Iterator;


public class Stringhelper
{
    public static String innerConcatenate(String[] array, String connector)
    {
    	StringBuilder sb=new StringBuilder();
    	for (String element : array)
		{
			sb.append(element);
			sb.append(connector);
		}
    	
    	String ret=sb.toString();
    	ret=ret.substring(0,ret.length()-connector.length());
    	return ret;
    }
}
